#ifndef QUERY_BASE_H
#define QUERY_BASE_H
#include "TextQuery.h"
class Query_base {
    friend class Query;
protected:
    using Sentence = TextQuery::Sentence;
    virtual ~Query_base() = default;
private:
    virtual QueryResult eval(const TextQuery&) const = 0;
    virtual string rep() const = 0;
    
};
#endif //QUERY_BASE_H